package com.education.platform.api.vo.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
* describe: 点赞
* @author : tomato
* @date: 2020-06-07 11:14:08.419
**/
@ApiModel()
@Getter
@Setter
@ToString
public class LikeUpdateVO {

    /**
     * 课程id
     */
    @ApiModelProperty("点赞对象id")
    @NotNull(message = "点赞对象不能为空")
	private Integer topicId;
    /**
     * 状态(0=取消 1=点赞)
     */
    @ApiModelProperty("状态(false=取消 true=点赞)")
    @NotNull(message = "状态不能为空")
	private Boolean status;

    /**
     *
     */
    @ApiModelProperty("类型(0=课程   1=文章)")
    @NotNull(message = "点赞对象类型不能为空")
    private Integer topicType;


}
